<?php 
//------------------------------------------------------------------------------
// File              : V_Addmin
// Modification       :
//------------------------------------------------------------------------------
// Date(yyyy.mm.dd)   Developer                       Action
//------------------------------------------------------------------------------
// 2007.03.05         ThanhTX                      Created
//------------------------------------------------------------------------------
	ob_start();
	session_start();
	ob_clean();
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css"  href="../../Themes/admin/css/style.css" media="all" />
<title>Welcome login http://www.ducanhpc.com.vn </title>
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<script language="javascript">
function Focus(){
document.f.ten_dang_nhap.focus();
}
</script>
</head>
<BODY onLoad="return Focus();">
<CENTER>
<!--<H2 align=center><font face="Arial Rounded MT Bold">Website ducanhpc.com.vn </font></H2> -->
<?php
	$ulr = "main.php?modul=admin&action=login";//htmlspecialchars($_SERVER['QUERY_STRING']);
	//echo  $arrayError;
	if($_GET["err"]==1){
		$err= "<font size=2>Tên đăng nhập hoặc mật khẩu không hợp lệ<font>";
	}
	
?>
<FORM  action="<?=$ulr?>" method="post" name="f"/>  
<div id="main1">
<div id="login">
  <div id="content">
  <h4>Đăng nhập hệ thống</h4>
<TABLE width=300 align=center border=0>
  <TBODY>
    <TD width=115 ><label style="padding-right:10px;">Tên đăng nhập</label></TD>
    <TD width=178 ><div align="left">
      <INPUT id="ten_dang_nhap" size="25" name="ten_dang_nhap" value="<?=$_SESSION["ten_dang_nhap_sai"]?>" style="width:180px; "/> 
    </div></TD></TR>
  <TR>
    <TD width=115><label style="padding-right:10px;">Mật Khẩu</label></TD>
    <TD  width=178 ><div align="left">
      <INPUT id="mat_khau" type="password" size="25" name="mat_khau" style="width:180px; " />         
    </div></TD>
  </TR>
  <TR>
    <TD colspan="2" style=" padding-top:2px; " align="right">
	<INPUT type=submit value="Đăng Nhập" border=1 name=Login />
	</TD>
  </TR>
  <TR >
    <TD colspan="2"><span style="color:#FFFFFF;"><?=$err?></span>  </TD>
    </TR>
</TBODY></TABLE>
  </div>
</div>
</div>
</FORM></CENTER>

</body>
</html>
